<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>标题</title>
<link rel="shortcut icon" href="" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>
	<div>
    	<form action="<%=path %>/Userdata/uploading" method="post" enctype="multipart/form-data">
    		<font color="blue" size="6">图片上传</font><p>
    		<input type="file" name="file">
    		<input type="submit" value="   上    传    ">
    		<font id="feedback">${feedback }</font>
    	</form>
    </div>
	<div>
		<p>
			<a href="./Userdata/download?fname=/${name }">${name }点击下载</a>
		<p> 
			<img width="200" height="200" alt="网络不佳"src="<%=path%>/files/${name}"> 
	</div>
</body>
</html>